package com.tzz.service;

import com.tzz.entity.PreActivity;
import com.tzz.entity.Product;
import com.tzz.exception.ActivityNotExistException;
import com.tzz.exception.StationNotInActivityException;
import com.tzz.vo.StationStop;

import java.util.List;

public interface PreActivityService {
    int addActivity(PreActivity preActivity);
    void stopActivity(String presaleId, List<Integer> stationIds) throws StationNotInActivityException, ActivityNotExistException;
    PreActivity findActivityById(String activityId);
    List<PreActivity> findAllActivity(String activityId);
    List<StationStop> findStationStopMapByActivityId(String activityId);
    List<Integer> findSkuIdsByActivityId(String activityId);
    List<Product> findProductsByActivityId(String activityId);
}
